package com.example.gpssystem.repository.mongo;

import com.example.gpssystem.repository.LogisticsEvent;
import org.springframework.data.keyvalue.repository.KeyValueRepository;

import java.util.List;

public interface LogisticsEventRepository extends KeyValueRepository<LogisticsEvent, String> {
    List<LogisticsEvent> findByOrderIdOrderByTimestampAsc(String orderId);
}

